<template>
  <div>
    <ul>
      <li v-for="item in run" :key="item">
        <span>{{item}}</span>
      </li> 
    </ul>
    <button @click="btnFn">走一走</button>
  </div>
</template>
<script>
export default {
  data () {
    return {
      run: ['帅哥','美女','程序猿']
    }
  },
  methods: {
    btnFn(){
      this.run.push(this.run[0])
      this.run.shift()
    }
  }
}
</script>

<style>

</style>